﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Decorator.CarDecorations.Models
{
    public abstract class AbstractCar
    {
        protected int _cost;
        protected int _salePrice;
        protected string _description;

        /// <summary>
        /// 得到成本
        /// </summary>
        /// <returns></returns>
        public abstract int? GetCost();

        /// <summary>
        /// 得到销售价
        /// </summary>
        /// <returns></returns>
        public abstract int? GetSalePrice();

        /// <summary>
        /// 得到描述信息
        /// </summary>
        /// <returns></returns>
        public abstract string GetDescription();
    }
}
